* {
    margin: 0;
    padding: 0;
    user-select: none;
    font-size: 1vw;
}

html, body {
    touch-action: none;
}

.avatar {
    --size: 10vw;
    width: var(--size);
    height: var(--size);
    border-radius: 50%;
    background-image: var(--avatar);
    background-size: cover;
    background-position: center;
}

.icon {
    --icon-size: contain;
    background-image: var(--icon);
    background-size: var(--icon-size);
    background-position: center;
    background-repeat: no-repeat;
}

/* 卡片的统一样式 */
.app-card {
    width: 100%;
    box-sizing: border-box;
    padding: 3vw 5vw;
    background-color: #fff;
    border-radius: 3vw;
    display: flex;
    flex-direction: column;
    gap: 3vw;
}

.app-card .title-line {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.app-card .title-line .title {
    font-size: 4vw;
    font-weight: 900;
    color: #000;
}

.app-card .title-line .btn-style {
    font-size: 3.5vw;
    color: var(--app-card-btn-color);
    background-color: var(--app-card-btn-bg-color);
    padding: 1vw 2vw;
    border-radius: 1vw;
}

/* 隐藏滚动条的写法 */
.hide-scrollbar {
    -ms-overflow-style: none;  /* IE 10+ */
    scrollbar-width: none;     /* Firefox */
}
.hide-scrollbar::-webkit-scrollbar {
    display: none;             /* Chrome / Safari / Edge / 微信 webview */
}

/* 文字单行溢出省略 */
.text-ellipsis {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 控制每个页面的容器 */
.page_container {
    box-sizing: border-box;
    width: 100vw;
    height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
}
